package com.dd.cloud.user.mapper.chknowl;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dd.cloud.user.entity.chknowl.ChknowlBooksPresent;
import com.dd.cloud.user.entity.chknowl.ChkonwlDoctorBook;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 我的书架 Mapper 接口
 * </p>
 *
 * @author czg
 * @since 2023-10-17
 */
public interface ChkonwlDoctorBookMapper extends BaseMapper<ChkonwlDoctorBook> {

    /**
     * @param page
     * @param doctorId
     * @return
     */
    IPage<ChknowlBooksPresent> queryDoctorBook(@Param("page") IPage<ChknowlBooksPresent> page,
                                               @Param("doctorId") Integer doctorId,
                                               @Param("keyword") String keyword);
}
